<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            list-style: none;
        }
        /* 头部样式 */
        
        .head {
            height: 50px;
            padding: 10px 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
        }
        
        .head input {
            width: 80%;
            height: 30px;
            border-radius: 20px;
            border: 1px solid #ccc;
            text-indent: 20px;
        }
        
        .head .sechBtn {
            background-color: crimson;
            color: white;
            width: 40px;
            height: 30px;
            border: none;
            border-radius: 7px;
        }
        /* 标题 */
        
        .titl {
            padding: 0px 20px;
            height: 40px;
            line-height: 40px;
            display: flex;
            justify-content: space-between;
        }
        
        .titl h3 {
            /* float: left; */
        }
        
        .titl .clearBtn {
            margin-top: 10px;
            width: 40px;
            height: 30px;
            border: none;
            background-color: white;
            color: #666;
            font-size: 16px;
        }
        /* 内容 */
        
        .list {
            padding: 0px 20px;
        }
        
        .list li {
            background-color: #ccc;
            color: white;
            width: 100px;
            border-radius: 10px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            float: left;
            margin-right: 10px;
            margin-bottom: 10px;
        }
    </style>
</head>

<body>
    <!-- 头部 -->
    <div class="head">
        <input type="text" name="" id="" placeholder="程序员假发">
        <button class="sechBtn">搜索</button>
    </div>
    <hr>
    <!-- 标题 -->
    <div class="titl">
        <h3>搜索记录</h3>
        <button class="clearBtn">清空</button>
    </div>
    <!-- 内容 -->
    <ul class="list">

    </ul>
    <script src="./历史记录.js"></script>

</body>

</html>